package com.macro.mall.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "获取orderId拼接信息响应报文")
public class OrderIdInfoRspVO {

    @ApiModelProperty(value = "应答编码",required = true,position = 0)
    private String respCode = "0000";

    @ApiModelProperty(value = "描述信息",required = true,position = 1)
    private String respDesc = "SUCCESS";

    @ApiModelProperty(value = "响应报文体",required = true,position = 2)
    private OrderIdInfo orderIdInfo;

    @ApiModel(value="响应报文体")
    public class  OrderIdInfo{

        @ApiModelProperty(value = "ID生成器服务序列",required = true,position = 1)
        private String serverSeq;

        @ApiModelProperty(value = "数据标识",required = true,position = 2)
        private String dataFlag;

        @ApiModelProperty(value = "生成时间 yyMMddHHmmss",required = true,position = 3)
        private String nowDate;

        @ApiModelProperty(value = "服务内存维护自增6位数序列",required = true,position = 4)
        private String flowSeq;

        @ApiModelProperty(value = "对应订单类型",required = true,position = 5)
        private String orderType;

        public String getServerSeq() {
            return serverSeq;
        }

        public void setServerSeq(String serverSeq) {
            this.serverSeq = serverSeq;
        }

        public String getDataFlag() {
            return dataFlag;
        }

        public void setDataFlag(String dataFlag) {
            this.dataFlag = dataFlag;
        }

        public String getNowDate() {
            return nowDate;
        }

        public void setNowDate(String nowDate) {
            this.nowDate = nowDate;
        }

        public String getFlowSeq() {
            return flowSeq;
        }

        public void setFlowSeq(String flowSeq) {
            this.flowSeq = flowSeq;
        }

        public String getOrderType() {
            return orderType;
        }

        public void setOrderType(String orderType) {
            this.orderType = orderType;
        }
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespDesc() {
        return respDesc;
    }

    public void setRespDesc(String respDesc) {
        this.respDesc = respDesc;
    }

    public OrderIdInfo getOrderIdInfo() {
        return orderIdInfo;
    }

    public void setOrderIdInfo(OrderIdInfo orderIdInfo) {
        this.orderIdInfo = orderIdInfo;
    }

    @Override
    public String toString() {
        return "OrderIdInfoRspVO{" +
                "respCode='" + respCode + '\'' +
                ", respDesc='" + respDesc + '\'' +
                ", orderIdInfo=" + orderIdInfo +
                '}';
    }
}
